package com.ruoyi.book.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提现记录对象 bdraw
 * 
 * @author ruoyi
 * @date 2023-05-09
 */
public class draw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long memid;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardno;

    /**  银行名 */
    @Excel(name = " 银行名")
    private String bank;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realname;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 状态 */
    @Excel(name = "状态")
    private String stat;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applytime;

    /** 到账时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到账时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paytime;

    /** 体现金额 */
    @Excel(name = "体现金额")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemid(Long memid) 
    {
        this.memid = memid;
    }

    public Long getMemid() 
    {
        return memid;
    }
    public void setCardno(String cardno) 
    {
        this.cardno = cardno;
    }

    public String getCardno() 
    {
        return cardno;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStat(String stat) 
    {
        this.stat = stat;
    }

    public String getStat() 
    {
        return stat;
    }
    public void setApplytime(Date applytime) 
    {
        this.applytime = applytime;
    }

    public Date getApplytime() 
    {
        return applytime;
    }
    public void setPaytime(Date paytime) 
    {
        this.paytime = paytime;
    }

    public Date getPaytime() 
    {
        return paytime;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memid", getMemid())
            .append("cardno", getCardno())
            .append("bank", getBank())
            .append("realname", getRealname())
            .append("phone", getPhone())
            .append("stat", getStat())
            .append("applytime", getApplytime())
            .append("paytime", getPaytime())
            .append("money", getMoney())
            .toString();
    }
}
